package com.guangyunl.h_innerclass;
//非静态内部类
public class Person {
    public void eat(){
        System.out.println("人要干饭");
    }
    // 构造方法
    class Heart{
        public void jump(){
            System.out.println("心脏哐哐哐跳动");
        }
    }
}
